﻿using WebPic.Sample.Comum;
using WebPic.Sample.Modelo.Entidades;

namespace WebPic.Sample.Modelo.Specifications
{
    public static class RepresentanteSpecification
    {
        public static Specification<Representante> NomeComecaCom(string nome)
        {
            return new Specification<Representante>(r => r.Nome.StartsWith(nome));}

    }
}